<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\models\User */

$this->title = Yii::t('app', '菜单管理-查看:{id}', ['id'=>$model->id]);
$this->params['breadcrumbs'][] = ['label' => 'Rbac', 'url' => ['user/index']];
$this->params['breadcrumbs'][] = ['label' => '菜单管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = '查看';
$this->params['breadcrumbs'][] = $model->id;
?>
<div class="layui-card">
    <div class="layui-card-header">
        <?= Html::encode($this->title) ?>
    </div>
    <div class="layui-card-body">
        <?= $this->render('_form', [
            'model' => $model,
            'routes' => $routes,
            'parents' => $parents,
        ]) ?>
    </div>
</div>